package com.mypg;

public class User {
    private int user_id;
    private String user_name;
    private String password;
    private String user_img;
    private String user_nickname;
    private int sex;

    public User(){}
    public User(int user_id, String user_name, String password, String user_img, String user_nickname,int sex) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.password = password;
        this.user_img = user_img;
        this.user_nickname = user_nickname;
        this.sex=sex;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUser_img() {
        return user_img;
    }

    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }

    public String getUser_nickname() {
        return user_nickname;
    }

    public void setUser_nickname(String user_nickname) {
        this.user_nickname = user_nickname;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id='" + user_id + '\'' +
                ", user_name='" + user_name + '\'' +
                ", password='" + password + '\'' +
                ", user_img='" + user_img + '\'' +
                ", user_nickname='" + user_nickname + '\'' +
                ", sex=" + sex +
                '}';
    }
}
